Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@tadwohlrapp
tadwohlrapp / ublock-filter-youtube.txt
Last active May 16, 2026 11:35
Filters for uBlock Origin I use to block annoying elements on YouTube
! ============================
! YouTube Top Nav Bar
! ============================
! always show normal YouTube logo, never that distracting doodleyoodle
www.youtube.com##ytd-topbar-logo-renderer > a > ytd-yoodle-renderer
www.youtube.com##ytd-topbar-logo-renderer > a > div:remove-attr(hidden)
! hide "Search with your voice" button (YouTube users have no voice)
www.youtube.com###masthead #center #voice-search-button
@HaleTom
HaleTom / print256colours.sh
Last active May 16, 2026 11:31
Print a 256-colour test pattern in the terminal
#!/bin/bash
# Tom Hale, 2016. MIT Licence.
# Print out 256 colours, with each number printed in its corresponding colour
# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163
set -eu # Fail on errors or undeclared variables
printable_colours=256
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active May 16, 2026 11:29
Conventional Commits Cheatsheet
@He-Is-HaZaRdOuS
He-Is-HaZaRdOuS / lineageos_microg.md
Last active May 16, 2026 11:26
Installing LineageOS + microG with Working SMS/Geolocation and Passing SafetyNet Without Google Accounts

Installing LineageOS + microG with Working SMS/Geolocation and Passing PlayIntegrity Without Google Accounts

This guide documents the process of installing LineageOS with microG and passing PlayIntegrity without logging into any Google accounts. It also ensures SMS and GPS functionality while maintaining privacy.


Prerequisites

  • A device compatible with LineageOS.
  • Familiarity with unlocking bootloaders, flashing custom ROMs, and using terminal commands.